package com.cskaoyan.mall.model.goods;

import java.util.List;

/**
 * @author: jyf2000jyf
 */
public class GoodsInfoWithoutGoodsVO {
    private List<Spec> specs;
    private Integer id;
    private String img;
    private String name;
    private String desc;
    private Integer typeId;

    public GoodsInfoWithoutGoodsVO() {
    }

    public GoodsInfoWithoutGoodsVO(List<Spec> specs, Goods goods) {
        this.specs = specs;
        this.id = goods.getId();
        this.img = goods.getImage();
        this.name = goods.getName();
        this.desc = goods.getDescription();
        this.typeId = goods.getTypeId();
    }

    public GoodsInfoWithoutGoodsVO(List<Spec> specs, Integer id, String img, String name, String desc, Integer typeId) {
        this.specs = specs;
        this.id = id;
        this.img = img;
        this.name = name;
        this.desc = desc;
        this.typeId = typeId;
    }

    public List<Spec> getSpecs() {
        return specs;
    }

    public void setSpecs(List<Spec> specs) {
        this.specs = specs;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
}
